package org.cloud.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * ClassName: Pay
 * Package: org.cloud.entity
 * Description:
 *
 * @Author: @weixueshi
 * @Create: 2024/4/10 - 21:11
 * @Version: v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "支付流水")
@TableName("c_pay")
public class Pay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 支付流水号
     */
    @Schema(title =  "支付流水号")
    @TableField(value = "pay_no")
    private String payNo;

    /**
     * 订单流水号
     */
    @Schema(title =  "订单流水号")
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 用户id
     */
    @Schema(title =  "用户id")
    @TableField(value = "user_id")
    private Integer userId;
}
